package com.oracle.malldemo.service.impl;

import com.oracle.malldemo.dao.CatalogDao;
import com.oracle.malldemo.dao.impl.CatalogDaoImpl;
import com.oracle.malldemo.domain.Catalog;
import com.oracle.malldemo.service.CatalogService;

import java.util.List;

public class CatalogServiceImpl implements CatalogService {

    private CatalogDao catalogDao = new CatalogDaoImpl();

    @Override
    public List<Catalog> queryAllCatalog() {
        return catalogDao.queryAllCatalog();
    }
}
